﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%var lstUser = ViewData["lstUser"] as IEnumerable<QLDAOL.Models.USER_PROJECT_ROLE>; %>
<div class="block">
    <% if (lstUser != null)
       {
           int i = 0; foreach (var user in lstUser)
           {
               i++;%>
    <div class="block paddingTB20">
        <div class="user_avatar2 paddingLR10">
            <img src="../../Content/images/<%= user.USER.Avatar%>" class="sb_avatar_img " /></div>
        <div class="user_info">
            <div class="user_info tl color10bl">
                <%=user.USER.UserName %>
            </div>
            <div class="user_info pj_note tl color2y">
                <%=user.USER.Email %><br />
                Role:
                <%=user.DM_ROLE.Role %>
            </div>
        </div>
    </div>
    <%}
       } %>
    <div class="width25 paddingLR10 fr">
        <input type="button" id="btn_add" class="marginA5 button" value="Add User" onclick="adduser();" /></div>
</div>
